+Fri Feb 27 02:33:21 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
+ cursor move, but not Home and End.
+
+ * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
+ jump to the ends of the list, not Home and End - since we're not
+ scrolling yet, a "page" is always the complete list. (#127430, Marco
+ Pesenti Gritti)
+
+Fri Feb 27 00:39:11 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
+ * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
+ the priv pointers dangle. (#127623, Damon Chaplin)
+
Thu Feb 26 17:31:34 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
+Fri Feb 27 02:33:21 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
+ cursor move, but not Home and End.
+
+ * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
+ jump to the ends of the list, not Home and End - since we're not
+ scrolling yet, a "page" is always the complete list. (#127430, Marco
+ Pesenti Gritti)
+
+Fri Feb 27 00:39:11 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
+ * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
+ the priv pointers dangle. (#127623, Damon Chaplin)
+
Thu Feb 26 17:31:34 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
+Fri Feb 27 02:33:21 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
+ cursor move, but not Home and End.
+
+ * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
+ jump to the ends of the list, not Home and End - since we're not
+ scrolling yet, a "page" is always the complete list. (#127430, Marco
+ Pesenti Gritti)
+
+Fri Feb 27 00:39:11 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
+ * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
+ the priv pointers dangle. (#127623, Damon Chaplin)
+
Thu Feb 26 17:31:34 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
+Fri Feb 27 02:33:21 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
+ cursor move, but not Home and End.
+
+ * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
+ jump to the ends of the list, not Home and End - since we're not
+ scrolling yet, a "page" is always the complete list. (#127430, Marco
+ Pesenti Gritti)
+
+Fri Feb 27 00:39:11 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
+ * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
+ the priv pointers dangle. (#127623, Damon Chaplin)
+
Thu Feb 26 17:31:34 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
+Fri Feb 27 02:33:21 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
+ cursor move, but not Home and End.
+
+ * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
+ jump to the ends of the list, not Home and End - since we're not
+ scrolling yet, a "page" is always the complete list. (#127430, Marco
+ Pesenti Gritti)
+
+Fri Feb 27 00:39:11 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
+ * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
+ the priv pointers dangle. (#127623, Damon Chaplin)
+
Thu Feb 26 17:31:34 2004 Manish Singh <yosh@gimp.org>
* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
if (combo_box->priv->cell_view)
{
gtk_widget_unparent (combo_box->priv->arrow);
+ combo_box->priv->arrow = NULL;
+
gtk_widget_unparent (combo_box->priv->separator);
+ combo_box->priv->separator = NULL;
+
gtk_widget_unparent (combo_box->priv->button);
+ combo_box->priv->button = NULL;
}
else
{
/* will destroy the arrow too */
gtk_widget_unparent (combo_box->priv->button);
+
+ combo_box->priv->button = NULL;
+ combo_box->priv->arrow = NULL;
}
/* changing the popup window will unref the menu and the childs */
combo_box->priv->arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
gtk_container_add (GTK_CONTAINER (combo_box->priv->button),
combo_box->priv->arrow);
+ combo_box->priv->separator = NULL;
gtk_widget_show_all (combo_box->priv->button);
if (combo_box->priv->cell_view)
* last unref on button will destroy the arrow
*/
gtk_widget_unparent (combo_box->priv->button);
+ combo_box->priv->button = NULL;
+ combo_box->priv->arrow = NULL;
if (combo_box->priv->cell_view)
{
NULL);
gtk_widget_unparent (combo_box->priv->cell_view_frame);
+ combo_box->priv->cell_view_frame = NULL;
}
gtk_widget_destroy (combo_box->priv->tree_view);
+
combo_box->priv->tree_view = NULL;
combo_box->priv->popup_widget = NULL;
}
if (keyval == GDK_Down || keyval == GDK_KP_Down)
return TRUE;
- if (keyval == GDK_Home || keyval == GDK_KP_Home)
+ if (keyval == GDK_Page_Up)
return TRUE;
- if (keyval == GDK_End || keyval == GDK_KP_End)
+ if (keyval == GDK_Page_Down)
return TRUE;
return FALSE;
if (completion->priv->current_selected > matches + actions - 1)
completion->priv->current_selected = matches + actions - 1;
}
- else if (event->keyval == GDK_Home || event->keyval == GDK_KP_Home)
- completion->priv->current_selected = -1;
- else if (event->keyval == GDK_End || event->keyval == GDK_KP_End)
+ else if (event->keyval == GDK_Page_Up)
+ completion->priv->current_selected = 0;
+
+ else if (event->keyval == GDK_Page_Down)
completion->priv->current_selected = matches + actions - 1;
if (completion->priv->current_selected < 0)